#e
#Title[uiCtꌂv]
#Text[ނ]
#ScriptVersion[2]

script_enemy_main {
    let name        = "邨I";
    let imgBoss   = "script\img\ExRumia.png";
    let frame     =  0;
    let angleBase = 30;

	@Initialize
	{
		SetScore(120000);;//XyJ[h{[iX50000ɐݒ
		SetLife(1200);//Ct240ɐݒ
		SetDamageRate(20,20);//_[W10%ɐݒ
		SetTimer(30);//Ԑ60bɐݒ
		CutIn(YOUMU,"闎I",0,0,0,0,0);//XyJ[h\
	}


    @MainLoop {
        SetCollisionA(GetX, GetY, 24);
        SetCollisionB(GetX, GetY, 24);

        frame++;
        if(frame == 3) {
            CreateShot01(GetX, GetY,  1, angleBase     , WHITE32, 0);
            CreateShot01(GetX, GetY,  3, angleBase - 25, WHITE32, 0);
            CreateShot01(GetX, GetY,  3, angleBase + 25, WHITE32, 0);
            CreateShot01(GetX, GetY,  5, angleBase - 50, WHITE32, 0);
            CreateShot01(GetX, GetY,  5, angleBase + 50, WHITE32, 0);
            CreateShot01(GetX, GetY, 10, angleBase - 75, WHITE32, 0);
            CreateShot01(GetX, GetY, 10, angleBase + 75, WHITE32, 0);
            CreateShot01(GetX, GetY, 15, angleBase -100, WHITE32, 0);
            CreateShot01(GetX, GetY, 15, angleBase +100, WHITE32, 0);
            CreateShot01(GetX, GetY, 20, angleBase -125, WHITE32, 0);
            CreateShot01(GetX, GetY, 20, angleBase +125, WHITE32, 0);
            CreateShot01(GetX, GetY, 25, angleBase -150, WHITE32, 0);
            CreateShot01(GetX, GetY, 25, angleBase +150, WHITE32, 0);
            CreateShot01(GetX, GetY, 25, angleBase -160, WHITE32, 0);
            CreateShot01(GetX, GetY, 25, angleBase +160, WHITE32, 0);
            CreateShot01(GetX, GetY, 25, angleBase -170, WHITE32, 0);
            CreateShot01(GetX, GetY, 25, angleBase +170, WHITE32, 0);
            CreateShot01(GetX, GetY, 20, angleBase -180, WHITE32, 0);
            CreateShot01(GetX, GetY, 20, angleBase +180, WHITE32, 0);
            CreateShot01(GetX, GetY, 25, angleBase -180, WHITE32, 0);
            CreateShot01(GetX, GetY, 25, angleBase +180, WHITE32, 0);
            CreateShot01(GetX, GetY,  5, angleBase -180, WHITE32, 0);
            CreateShot01(GetX, GetY,  5, angleBase +180, WHITE32, 0);











            angleBase += 64;
            frame = 0;
        }



    }

    @DrawLoop {
        DrawGraphic(GetX, GetY);
    }

    @Finalize {
        DeleteGraphic(imgBoss);
    }
}